package com.lucy.nepu.module.thinktank.lib.params;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.NotBlank;

@Data
@ApiModel(value = "智库类成果词典更新参数")
public class ThinkTankDictUpdateParams {
    @NotBlank(message = "智库类成果词典ID不可为空")
    @ApiModelProperty(value = "智库类成果词典ID",name = "id")
    String id;

    @NotBlank(message = "分类编码不可为空")
    @ApiModelProperty("分类编码")
    String code;

    @NotBlank(message = "智库类成果类型不可为空")
    @ApiModelProperty(value="智库类成果类型",notes="国家社科基金《成果要报》等.")
    String thinktankType;
    /**
     * 智库类成果类别
     */
    @NotBlank(message = "智库类成果类别不可为空")
    @ApiModelProperty(value = "智库类成果类别",notes = "A,B,C")
    String thinktankLevel;

    /**
     * 智库类成果对应的工作量
     */
    @DecimalMin(value = "0",message = "最小工作量大于0")
    @ApiModelProperty(value = "工作量Min",notes = "获奖对应的最小工作量")
    Double workloadMin;
    @DecimalMin(value = "0",message = "最大工作量大于0")
    @ApiModelProperty(value = "工作量Max",notes = "获奖对应的最大工作量")
    Double workloadMax;
}
